package com.sanbi.erp.db.dao;

import com.sanbi.erp.db.domain.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProviderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Provider record);

    int insertSelective(Provider record);

    Provider selectByPrimaryKey(Integer id);

    List<Provider> selectAll(@Param("providerName") String providerName);

    List<Provider> selectAllEasyExcel();

    int updateByPrimaryKeySelective(Provider record);

    int updateByPrimaryKey(Provider record);
}